package cn.edu.sgu.www.mhxysy.entity.xingshi;

import cn.edu.sgu.www.mhxysy.consts.IdentifierPrefixes;
import cn.edu.sgu.www.mhxysy.util.StringUtils;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 星石附灵属性
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Data
@ApiModel
@TableName("xingshi_fuling")
public class XingshiFuling implements Serializable {
	private static final long serialVersionUID = 18L;

	@TableId(value = "id", type = IdType.INPUT)
	@ApiModelProperty(value = "ID")
	private String id;

	/**
	 * 进阶次数
	 */
	@ApiModelProperty(value = "进阶次数")
	private Integer step;

	/**
	 * 星石ID
	 */
	@ApiModelProperty(value = "星石ID")
	private String xingshiId;

	/**
	 * 属性ID
	 */
	@ApiModelProperty(value = "属性ID")
	private Integer propertyId;

	/**
	 * 属性值
	 */
	@ApiModelProperty(value = "属性值")
	private Integer propertyValue;

	public String uuid() {
		return IdentifierPrefixes.PREFIX_XSFLSX + StringUtils.uuid();
	}

}